Skip to content

Export additional prop/event types#57278

Closed
huntie wants to merge 1 commit into
react:mainfrom
huntie:export-D109020054
Closed

Export additional prop/event types#57278
huntie wants to merge 1 commit into
react:mainfrom
huntie:export-D109020054

Conversation

@huntie

@huntie huntie commented Jun 18, 2026

Copy link
Copy Markdown
Member

Summary:
Add four existing types to the public API surface in index.js.flow so they will be accessible under the Strict TypeScript API:

  • AccessibilityActionInfo (from Components/View/ViewAccessibility)
  • ImageResizeMode (from Image/ImageResizeMode)
  • EdgeInsetsProp (from StyleSheet/EdgeInsetsPropType)
  • TextInputBlurEvent (from Components/TextInput/TextInput)

Changelog:
[General][Added] - Export AccessibilityActionInfo, ImageResizeMode, EdgeInsetsProp, and TextInputBlurEvent types

Differential Revision: D109020054

…TextInputBlurEvent types

Summary:
Add four existing types to the public API surface in `index.js.flow` so they can be imported from the `react-native` root instead of via deep imports:

- `AccessibilityActionInfo` (from `Components/View/ViewAccessibility`)
- `ImageResizeMode` (from `Image/ImageResizeMode`)
- `EdgeInsetsProp` (from `StyleSheet/EdgeInsetsPropType`)
- `TextInputBlurEvent` (from `Components/TextInput/TextInput`)

The API snapshot `ReactNativeApi.d.ts` is regenerated via `yarn build-types`.

Changelog:
[General][Added] - Export `AccessibilityActionInfo`, `ImageResizeMode`, `EdgeInsetsProp`, and `TextInputBlurEvent` types

Differential Revision: D109020054
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 18, 2026
@meta-codesync

meta-codesync Bot commented Jun 18, 2026

Copy link
Copy Markdown

@huntie has exported this pull request. If you are a Meta employee, you can view the originating Diff in D109020054.

@github-actions

Copy link
Copy Markdown

Warning

JavaScript API change detected

This PR commits an update to ReactNativeApi.d.ts, indicating a change to React Native's public JavaScript API.

  • Please include a clear changelog message.
  • This change will be subject to additional review.

This change was flagged as: POTENTIALLY_BREAKING

@huntie huntie changed the title Export AccessibilityActionInfo, ImageResizeMode, EdgeInsetsProp, and TextInputBlurEvent types Export additional prop/event types Jun 18, 2026
@meta-codesync meta-codesync Bot closed this in ee36c67 Jun 19, 2026
@meta-codesync meta-codesync Bot added the Merged This PR has been merged. label Jun 19, 2026
@meta-codesync

meta-codesync Bot commented Jun 19, 2026

Copy link
Copy Markdown

This pull request has been merged in ee36c67.

@huntie huntie deleted the export-D109020054 branch June 19, 2026 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged This PR has been merged. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant